import http from "@/utils/request.js";

// 获取数据
export const getUser = (params)=>{
    // 返回对象
    return http.get('/user',params)
}


export const loginUser = (data)=>{
    // 返回对象
    return http.post('/login',data)
}